const mongoose = require('mongoose');


mongoose.connect('mongodb://123.207.247.28:27017/note',{ useNewUrlParser: true });

const noteSchema = mongoose.Schema({
    title: String,
    content:String,
    createTime:Number
});

const Note = mongoose.model('Note', noteSchema);

module.exports = {Note}



